Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for #1588 #1589

Closed
wants to merge 1 commit into from
Closed

Conversation

crazycatdevs
Copy link
Contributor

Found by: CrazyCat
Patch by: CrazyCat
Fixes: #1588

One-line summary:
initialize ok to -1, sets it to 0 if user is known

Additional description (if needed):

Test cases demonstrating functionality (if applicable):

Following eggheads#1588 : initialize ok to -1, sets it to 0 if user is known
@thommey
Copy link
Member

thommey commented Jul 27, 2024

Unfortunately we can't do that, because you break code of the inverse logic:

if {[matchattr $hand o|o $chan]} { # privileged code }

would suddenly give access to the "*" handle.

@thommey thommey closed this Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

matchattr returns 0 with unknown handle and negative flag
2 participants